package com.hspedu.spring.component;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * Created by Gening on 3/11/2025
 */
@Controller
public class UserAction {
    @Autowired
    private UserService userService200;

    public void sayOk(){
        System.out.println("say ok");
        System.out.println("UserService中装配的UserService="+ userService200);
        userService200.hi();

    }

}
